<?php

namespace App\Lib\Rooms\Events;

use App\Model\RoundActionModel;
use App\Model\RoundsModel;

/**
 * 摸牌
 * Class ActionDrawEvent
 * @package App\Lib\Rooms\Events
 */
class ActionDrawEvent
{
    /**
     * 动作
     * @var RoundActionModel
     */
    public $actionModel;

    /**
     * 回合
     * @var RoundsModel
     */
    public $rounds;

    /**
     * 牌值
     * @var int
     */
    public $val;


    public function __construct(RoundActionModel $actionModel, RoundsModel $rounds, int $val)
    {
        $this->actionModel = $actionModel;
        $this->rounds = $rounds;
        $this->val = $val;
    }
}